﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CreateWorkFlow.aspx.cs" Inherits="MyWindow_CreateWorkFlow" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../css/page.css" rel="stylesheet" />
    <style type="text/css">
        .cen {
            text-align: center;
        }
    </style>
    <script type="text/javascript">
        function HandleWorkItem(WorkItem, index, iid, step) {
            var strURL = "../Office/TaskProcess.aspx?ItemId=" + WorkItem + "&iid=" + iid + "&step=" + encodeURI(step);
            window.open(strURL, '_blank', "height=" + (screen.availHeight - 30) + " , width=" + screen.availWidth + ", top=0, left=0,toolbar=no, menubar=no, scrollbars=no, location=no, status=no");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div style="text-align: center">
            <controlDefine:CustomGridView runat="server" ID="gvList" SkinID="List" AutoGenerateColumns="false"
                OnOnLoadData="gvList_OnLoadData" ShowHideColModel="None" AllowPaging="false" AllowOnMouseOverEvent="false"
                CssClass="tab" PageSize="10" Width="100%">
                <Columns>
                    <asp:TemplateField HeaderText="序号" ItemStyle-Width="20%" ItemStyle-Height="30px" ItemStyle-Font-Size="Larger">
                        <ItemTemplate>
                            <%# Container.DataItemIndex + 1%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="wname" HeaderText="事务类型" ItemStyle-Font-Size="Larger"/>
                    <asp:TemplateField HeaderText="操作" ItemStyle-Width="30%"  ItemStyle-Font-Size="Larger" >
                        <ItemTemplate>
                            <asp:LinkButton ID="linkBtnApply" runat="server" CommandArgument='<%#Eval("wid") %>' OnClick="linkBtnApply_Click">申请</asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>

                <PagerSettings Visible="False"></PagerSettings>
            </controlDefine:CustomGridView>

        </div>
    </form>
</body>
</html>
